/**
 * created by 小卷毛, 2022-04-08
 * Copyright (c) 2022, 416143467@qq.com All Rights Reserved.
 * #                   *********                            #
 * #                  ************                          #
 * #                  *************                         #
 * #                 **  ***********                        #
 * #                ***  ****** *****                       #
 * #                *** *******   ****                      #
 * #               ***  ********** ****                     #
 * #              ****  *********** ****                    #
 * #            *****   ***********  *****                  #
 * #           ******   *** ********   *****                #
 * #           *****   ***   ********   ******              #
 * #          ******   ***  ***********   ******            #
 * #         ******   **** **************  ******           #
 * #        *******  ********************* *******          #
 * #        *******  ******************************         #
 * #       *******  ****** ***************** *******        #
 * #       *******  ****** ****** *********   ******        #
 * #       *******    **  ******   ******     ******        #
 * #       *******        ******    *****     *****         #
 * #        ******        *****     *****     ****          #
 * #         *****        ****      *****     ***           #
 * #          *****       ***        ***      *             #
 * #            **       ****        ****                   #
 */
package com.rzico.sbl.model

import android.os.Parcelable
import kotlinx.parcelize.Parcelize

/**
 * 描 述：
 * 作 者：小卷毛  2022-04-08 14:38
 * 修改描述：
 * 修 改 人：
 * 修改版本：
 */

@Parcelize
data class DriverModel(
    var id: String = "",
    var name: String = "",
    var createDate: String = "",
    var seller: String = "",
    var status: String = "",
    var debitDate: String? = "",
    var creditDate: String? = "",
    var memo: String? = "",
    var snList: ArrayList<DepotStation> = ArrayList(),
    var productList: ArrayList<DepotGoods> = ArrayList()
) : Parcelable

@Parcelize
data class DriverStation(
    var id: String = "",
    var member: String = "",
    var name: String? = "",
    var logo: String? = "",
    var linkman: String? = "",
    var phone: String? = "",
    var mortgage: String? = "",
    var pledge: String? = "",
    var buyQuantity: String? = "",
    var buy: String? = "",
    var borrow: String? = "",
    var arrears: String? = "",
    var subQuantity: String? = "",
    var refundsQuantity: String? = "",
    var swapQuantity: String? = "",
    var adAdvanceStock: String? = "",
    var barrel: BucketBarrel? = null
) : Parcelable

@Parcelize
data class BucketBarrel(
    var id: String = "",
    var name: String = "",
    var pledge: String = "",
    var cost: String = ""
) : Parcelable

@Parcelize
data class DriverArrear(
    var orderId: String = "",
    var shippingId: String = "",
    var sn: String = "",
    var createDate: String = "",
    var subPrice: String? = "",
    var exchangePrice: String? = "",
    var repayment: String? = "",
    var payAmount: String? = "",
    var arrears: String? = "",
    var amountPaid: String? = ""
) : Parcelable

@Parcelize
data class DriverBarrel(
    var orderId: String = "",
    var barrelId: String = "",
    var barrelName: String = "",
    var shippingId: String = "",
    var sn: String = "",
    var createDate: String = "",
    var name: String = "",
    var quantity: String? = "",
    var returnQuantity: String? = "",
    var arrearsQuantity: String? = "",
    var repayQuantity: String? = "",
    var transQuantity: String? = "",
    var borrow: String? = "",
    var backQuantity: String? = "",
    var pledgeQuantity: String? = "",
    var pledge: String? = "",
    var buyQuantity: String? = "",
    var buy: String? = "",
    var refundsQuantity: String? = "",
    var refunds: String? = ""
) : Parcelable

@Parcelize
data class DriverRecord(
    var id: String = "",
    var type: String = "",
    var amount: String = "",
    var beforeAmount: String = "",
    var borrow: String = "",
    var afterAmount: String = "",
    var beforeBorrow: String = "",
    var afterBorrow: String = "",
    var createDate: String = "",
    var letter: Int = 0,
    var admin: AdminData? = null,
    var barrel: AdminData? = null
) : Parcelable

@Parcelize
data class DriverRotten(
    var id: String = "",
    var createDate: String = "",
    var name: String = "",
    var quantity: String = "",
    var price: String = "",
    var subPrice: String = "",
    var shipping: OrderData? = null
) : Parcelable